<div class="ibox">
        <div class="ibox-title">
        <h5>版本管理</h5>
        
<div class="nowrap pull-right" style="margin-top:10px">
    <button onclick="history.go(-1);" data-title="返回" class='layui-btn layui-btn-small'>返回</button> <button data-modal='app/version/add?app_id=${Request.app_id}' data-title="添加版本" class='layui-btn layui-btn-small'><i class='fa fa-plus'></i> 添加版本</button>
</div>

    </div>
        <div class="ibox-content fadeInUp animated">
                
<form onsubmit="return false;" data-auto="" method="POST">
    <input type="hidden" value="resort" name="action"/>
    <table class="table table-hover">
        <thead>
            <tr>
                <th class='text-center'>版本</th>
                <th class='text-center'>升级类型</th>
                <th class='text-center'>创建人</th>
                <th class='text-center'>创建时间</th>
                <th class='text-center'>备注</th>
                <th class='text-center'>操作</th>
            </tr>
        </thead>
        <tbody>
        <#if (page.data?size > 0)>
           <#list page.data as obj>
               <tr>
                <td class='text-center'>${obj.version!""}</td>
                <td class='text-center'><#if obj.type == 1>强升<#else>非强升</#if></td>
                <td class='text-center'>${obj.username!""}</td>
                <td class='text-center'>${obj.createTime?string("yyyy-MM-dd HH:mm:ss")}</td>
                <td class='text-center'>${obj.mark!""}</td>
                <td class='text-center nowrap'>
                    <span class="text-explode">|</span>
                    <a data-modal='app/version/edit?id=${obj.id?c}' href="javascript:void(0)">编辑</a>
                    <span class="text-explode">|</span>
                    <a  data-load='app/version/del?id=${obj.id?c}' href="javascript:void(0)" data-confirm="确定要删除吗？">删除</a>
                </td>
            </tr>
            </#list>  
          <#else>
          	 <tr><td colspan=6 class='text-center'>还没有数据！</td></tr>
          </#if>
                    </tbody>
    </table>
   <p>
 
 <ul class="pagination pull-right"> 
  <#import "/common/app_page.html" as p> 
  <@p.page data=page url="app/version/index" search_param=search_param />
 </ul>
 
 </p>
    </div>
    
</div>